package com.yatong.entity;

import java.io.Serializable;
import java.util.List;
/**
 * @program: YaTong
 * @description:天气信息实体类
 * @author: Mr.Guo
 * @create: 2018-09-21 11:26
 **/
public class Weather implements Serializable {
    private static final long serialVersionUID = 9148076106777352928L;

    //时间
    private String date;
    //城市名称
    private String city;
    //实时温度
    private String shidu;
    //PM2.5
    private String pm25;
    //PM1.0
    private String pm10;
    //空气质量
    private String quality;
    //实时温度
    private String wendu;
    //温馨提示
    private String ganmao;
    //昨日天气
    private WeatherYesterday yesterday;
    //未来五天天气
    private List<WeatherForecast> forecast;

    public static long getSerialVersionUID() {
        return serialVersionUID;
    }

    public String getDate() {
        return date;
    }

    public void setDate(String date) {
        this.date = date;
    }

    public String getCity() {
        return city;
    }

    public void setCity(String city) {
        this.city = city;
    }

    public String getShidu() {
        return shidu;
    }

    public void setShidu(String shidu) {
        this.shidu = shidu;
    }

    public String getPm25() {
        return pm25;
    }

    public void setPm25(String pm25) {
        this.pm25 = pm25;
    }

    public String getPm10() {
        return pm10;
    }

    public void setPm10(String pm10) {
        this.pm10 = pm10;
    }

    public String getQuality() {
        return quality;
    }

    public void setQuality(String quality) {
        this.quality = quality;
    }

    public String getWendu() {
        return wendu;
    }

    public void setWendu(String wendu) {
        this.wendu = wendu;
    }

    public String getGanmao() {
        return ganmao;
    }

    public void setGanmao(String ganmao) {
        this.ganmao = ganmao;
    }

    public WeatherYesterday getYesterday() {
        return yesterday;
    }

    public void setYesterday(WeatherYesterday yesterday) {
        this.yesterday = yesterday;
    }

    public List<WeatherForecast> getForecast() {
        return forecast;
    }

    public void setForecast(List<WeatherForecast> forecast) {
        this.forecast = forecast;
    }

    @Override
    public String toString() {
        return "Weather{" +
                "date='" + date + '\'' +
                ", city='" + city + '\'' +
                ", shidu='" + shidu + '\'' +
                ", pm25='" + pm25 + '\'' +
                ", pm10='" + pm10 + '\'' +
                ", quality='" + quality + '\'' +
                ", wendu='" + wendu + '\'' +
                ", ganmao='" + ganmao + '\'' +
                ", yesterday=" + yesterday +
                ", forecast=" + forecast +
                '}';
    }
}
